<%@page import="com.trimps.steps.pojo.User"%>
<%@page import="com.hotfire.template.common.Constants"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 全局变量放入request中，可通过 ${path }访问
	request.setAttribute("path", path);
	request.setAttribute("basePath", basePath);
	User user = (User) session.getAttribute(Constants.USER_SESSION_ATTR);
	if (user != null){
		request.setAttribute("user", user);
		request.setAttribute("username", user.getUserName());
		request.setAttribute("role", user.getRole());
	}
	request.setAttribute("pagePath", "/WEB-INF/page");
%>

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
	
	<script type="text/javascript">
		var path = '<%=path %>';
		var app = {};
	</script>
	
    <link rel="icon" href="${path }/static/favicon.ico">
    <link href="${path }/static/vender/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link href="${path }/static/css/common.css" rel="stylesheet">
    
    <script src="${path }/static/vender/jquery/jquery.min.js"></script>
    <script src="${path }/static/vender/bootstrap/bootstrap.min.js"></script>
    <script src="${path }/static/vender/bootstrap/bootstrap3-validation.js"></script>
    
    <script src="${path }/static/js/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="${path }/static/js/ie-emulation-modes-warning.js"></script>
    <script src="${path }/static/js/ie10-viewport-bug-workaround.js"></script>
    
	<script type="text/javascript" src="${path }/static/js/date-formatter.js"></script>
    
    <script src="${path }/static/js/jquery.messager.js"></script>
    <script src="${path }/static/js/common.js"></script>
  
    